package com.star.common.email.annotation;

import com.star.common.email.registrar.EnableStarEmailRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 用于启动类，配置启用star.email，自动注册多数据源。
 *
 * @author zhouhengzhe
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Import(EnableStarEmailRegistrar.class)
public @interface EnableStarEmail {

}
